﻿@using WebEntities;
@{
    ViewBag.Title = "建言献策_城市垃圾处理网";
    ViewBag.ClassHead = "head_bg2";
}
<div class="listMain">
    <div class="main_l">
        @Html.Action("CircleMenu", "PublicPartialView", new { miId = (int)ViewBag.MenuItemID })
        @*<div class="CataArea">
            <div class="cata-box">
                <div class="tit">
                    联系我们</div>
                <ul>
                    <li><i>·</i><a href="#">联系方式</a></li>
                    <li class="current"><i>·</i><a href="#">建言献策</a></li>
                    <li><i>·</i><a href="#">网站地图</a></li>
                    <li><i>·</i><a href="#">社会募捐</a></li>
                </ul>
            </div>
        </div>
        <div style="height: 180px;">
        </div>*@
        <div class="contentBox">
            <div class="con_bar">
                <span class="fl tit">建议献策须知</span>
                <div class="cls">
                </div>
            </div>
            <div class="con_Main_2">
                <ul>
                    <li>本站所有信息不敢保证所有都没有错漏，如有误，请及时联系我们更正！</li>
                    <li>如果你对本网站有任何的倡议，诚恳留下您宝贵的建议！</li>
                    <li>感谢您的大力支持，我们一定会第一时间答复您！</li>
                    <li>继续补充内容...！</li>
                </ul>
            </div>
        </div>
    </div>
    <div class="main_r">
        <div class="addressRemark">
            您当前位置：<a href="/">首页</a> > <a href="/detail/index/10037">联系我们</a> > <a href="/leavemsg">建言献策</a>
        </div>
        <div class="contentBox ctb">
            @using (Html.BeginForm())
            {
                @Html.AntiForgeryToken()
                <table border="0" cellpadding="0" cellspacing="0" width="100%" class="leaveMsgTable">
                    <tr>
                        <th>
                            <span class="red">*</span> 留言类型
                        </th>
                        <td>
                            <select name="TypeID">
                                @{ List<WI_LeaveMsgType> list = ViewBag.LeaveTypeList as List<WI_LeaveMsgType>; }
                                @foreach (WI_LeaveMsgType obj in list)
                                { 
                                    <option value="@obj.TypeID">@obj.MsgType</option>
                          
                                }
                            </select>
                        </td>
                    </tr>
                     <tr>
                        <th>
                            <span class="red">*</span> 问题标题
                        </th>
                        <td>
                            <input type="text" value="" class="txtInp" name="MsgSubject" id="MsgSubject" />
                        </td>
                    </tr>
                    <tr>
                        <th>
                            <span class="red">*</span> 留言内容
                        </th>
                        <td>
                            <textarea id="MsgBody" cols="50" rows="8" name="MsgBody" class="tarea"></textarea><br />
                            <font class="f_gray">欢迎与我们联系沟通，请您如实详细填写相关信息，最好写明具体联系方式，谢谢合作。</font>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            与我联系
                        </th>
                        <td>
                            <input type="radio" value="1" name="NeedContact" class="radio_contact" />
                            需要
                            <input type="radio" value="0" name="NeedContact" checked="checked" class="radio_contact" />
                            不需要
                        </td>
                    </tr>
                    <tr class="lvmsg-show">
                        <th>
                            <span class="red">*</span> 联系人
                        </th>
                        <td>
                            <input type="text" value="" class="txtInp" name="ContactMan" id="ContactMan" />
                        </td>
                    </tr>
                    <tr class="lvmsg-show">
                        <th>
                            <span class="red">*</span> 电子邮箱
                        </th>
                        <td>
                            <input type="text" value="" class="txtInp" name="Email" id="Email" />
                        </td>
                    </tr>
                    <tr class="lvmsg-show">
                        <th>
                            联系电话/手机
                        </th>
                        <td>
                            <input type="text" value="" class="txtInp" name="Mobile" id="Mobile" />
                        </td>
                    </tr>
                    <tr class="lvmsg-show">
                        <th>
                            QQ
                        </th>
                        <td>
                            <input type="text" value="" class="txtInp" name="QQNum" id="QQNum" />
                        </td>
                    </tr>
                    <tr>
                        <th>
                            &nbsp;
                        </th>
                        <td>
                            <input type="submit" value=" 提交 " class="btn" name="submit" id="btnLeaveMsg"/>
                            &nbsp;&nbsp;&nbsp; <span class="red">*</span> 为必填内容  &nbsp;&nbsp;&nbsp; 
                            <span class="red" id="errormsg"></span> <span style="color:Green"> @ViewBag.msg </span>
                        </td>
                    </tr>
                </table>
            }
            @Html.Action("GetLeaveMsgList", "LeaveMsg")
        </div>
    </div>
</div>
@section Scripts {
   <script src="/Scripts/leavecon.js" type="text/javascript"></script>

}
